package javase_class_250903;

/**
 * ClassName: cat
 * Package: javase_class_250903
 * Description:
 *
 * @Author harkjeans
 * @Create 2025/9/3 18:28
 * @Version 1.0
 */
public class Cat extends Animal{
    private int count;

    public void catchMouse(){
        count++;
        System.out.println("抓老鼠，已经抓了" + count + "只老鼠");
    }
}
